package com.zhixue.auth.feignclient;

import feign.hystrix.FallbackFactory;
import org.springframework.stereotype.Component;

/**
 * @Auther: 李 力
 * @Date: 2025/5/13
 * @Description: com.zhixue.auth.feignclient
 * @version: 1.0
 */
@Component
public class CheckCodeClientFactory implements FallbackFactory<CheckCodeClient> {
    @Override
    public CheckCodeClient create(Throwable throwable) {
        return new CheckCodeClient() {
            @Override
            public Boolean verify(String key, String code) {
                return null;
            }
        };
    }
}
